﻿using System.ComponentModel;

namespace CleanArchitecture.Infrastructure.Models.Business.Blog
{
    /// <summary>
    /// Represents a news settings model
    /// </summary>
    public partial class BlogSettingsModel : BaseEntityModel
    {
        #region Properties

        [DisplayName("开启/关闭 博客功能模块")]
        public bool Enabled { get; set; }
        [DisplayName("是否允许对博客文章留言或评论")]
        public bool AllowNotRegisteredUsersToLeaveComments { get; set; }
        [DisplayName("收到新文章留言或评论提醒")]
        public bool NotifyAboutNewBlogComments { get; set; }
        [DisplayName("主页显示博客文章列表")]
        public bool ShowBlogOnMainPage { get; set; }
        [DisplayName("主页博客展示总数")]
        public int MainPageBlogCount { get; set; }
        [DisplayName("主页博客列表行数")]
        public int BlogArchivePageSize { get; set; }
        [DisplayName("ShowHeaderRSSUrl")]
        public bool ShowHeaderRssUrl { get; set; }
        [DisplayName("是否对博客留言或评论审核后展示")]
        public bool BlogCommentsMustBeApproved { get; set; }
        [DisplayName("发布是否需要审核流程")]
        public bool CheckBeforePublish { get; set; }

        #endregion
    }
}
